package me.zk.practice1.config;

import me.zk.practice1.bean.People1;
import me.zk.practice1.bean.People2;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: zhang kai
 * @Date: 2021/11/11
 * @Description:
 */
@Configuration
public class DemoConfiguration {
    @Bean
    public People1 getPeople1() {
        return new People1();
    }
    @Bean
    public People2 getPeople2() {
        return new People2();
    }
}
